<template>
	<view class="shop_item">
		<image src="../static/images/shop/16b409fd2fd42531.jpg" mode="" class="shop_img"></image>
		<view class="shop_right">
			<view class="shop_info">
				<text class="shop_name">
					{{item.name}}
				</text>
				<view class="rating">
					<uni-rate size="14" :value="item.rating" disabled="true" :style="{'padding-top':'20rpx'}"></uni-rate>
					<text :style="{'color':'#ffca3e'}">{{item.rating}}</text>
				</view>
				<text class="qisong">￥20起送/配送费约￥5</text>
			</view>
			<view class="shop_detail">
				保准票
			</view>
		</view>
	</view>
</template>

<script>
	import uniRate from "./uni-rate/uni-rate.vue"
	export default {
		data() {
			return {
				
			};
		},
		props:{
			item:Object
		},
		components:{
			uniRate
		}
	}
</script>

<style lang="scss">
	.shop_item{
		padding-top: 20rpx;
		@include flexbetween();
		.shop_right{
			@include flexbetween();
			width: 80%;
			.shop_info{
				display: flex;
				flex-direction: column;
				justify-content: space-around;
				.rating{
					display: flex;
				}
				.shop_name{
					color: #333333;
					font-weight: 700;
					font-size: 30rpx;
				}
			}
		}
	}
	.shop_img{
		width: 120rpx;
		height: 120rpx;
	}
	.qisong{
		color: #666666;
		font-size: 22rpx;
	}
</style>
